import axios from "axios";

axios.defaults.baseURL = "http://1.14.68.137:8000";
axios.defaults.timeOut = 5000;

axios.interceptors.request.use(config => {
    if (config.url.includes("/api")) {
        config.baseURL = ""
    }
    return config
})

export default axios;